RAIS  3.2
RAIS::ApplicationLogicLayer::UserManagement Class Reference

This class implements A.L.L. methods for user managements. More...

List of all members.

Static Public Member Functions

static void InitializeDAL ()
 This method checks Initialize Data access layer.
static UserData GetUserData (string userName)
 This method retrieves from DAL a user data object for the specified user name.
static List< UserAssignment > GetUserAssignmentsForUser (UserData user, DateTime selectedDate)
static List< UserAssignment > GetUserAssignmentsForUser (UserData user)
static List< Facility > getFacilitiesByPractice (int practiceID)
static List< UserAssignment > GetUserAssignmentHistoryForUser (UserData user)
static bool LoginUser (UserData userData)
 This method fixes the fact of user's login in DB .
static bool LogoutUser (UserData userData, bool isLoggOffClick)
 This method fixes the fact of user's logout in DB .
static bool AddAccountRequest (UserData userData, ref string returnMessage)
 This method adds a new account request into DB.
static bool ReleaseAccountRequest (UserData userData, ref string returnMessage)
 This method releases an account request into DB.
static bool RejectAccountRequest (UserData userData, ref string returnMessage)
 This method rejects an account request into DB.
static bool AddUser (UserData userData, ref string returnMessage)
 This method validates new user data and adds a new user through DAL.
static bool ModifyUser (UserData userData, ref string returnMessage)
 This method validates user data and saves it as modification of an existing user::s details through DAL.
static FunctionRoleCategories GetAllowCustomizationCategories ()
 This method retrieves from DAL a list of allow customization functional role categories.
static FunctionRoleSubcategories GetFunctionalRoleSubcategories (FunctionRole.Category category)
 This method retrieves from DAL a list of all available functional role subcategories for the specified category.
static FunctionRoleSubcategories GetFunctionalRoleSubcategories (FunctionRole.Category category, bool withAll)
 This method retrieves from DB a list of all available functional role subcategories for the specified category without "All Subcategories" line.
static FunctionRoleSubcategories GetFunctionalRoleSubcategories (FunctionRole.Category category, bool withAll, bool showProtectors, bool showEvaluators)
 This method retrieves from DB a list of all available functional role subcategories for the specified category.
static Masks GetMasks (FunctionRole.Category category, FunctionRole.Subcategory subcategory)
 This method retrieves from DAL a list of all available masks for the specified category and subcategory.
static Masks GetMasksWithoutAll (FunctionRole.Category category, FunctionRole.Subcategory subcategory)
 This method retrieves from DAL a list of all available masks for the specified category and subcategory without "All Masks" line.
static Masks GetMasksWithoutAllWhithHidden (FunctionRole.Category category, FunctionRole.Subcategory subcategory)
 This method retrieves from DAL a list of all available masks for the specified category and subcategory without "All Masks" line and with hidden masks.
static Masks GetMasksWithoutAll (FunctionRole.Category category, FunctionRole.Subcategory subcategory, DynamicMask.DynamicMaskTypeData dynamicMaskType)
 This method retrieves from DAL a list of all available masks for the specified category, subcategory and type without "All Masks" line.
static XmlDocument GetSiteMapByUser (UserData user, bool designMode)
 This method retrieves the site map from DAL. The retrieved site map provided with user-specific access right indications for the specified user.
static void GetMaskByReference (string reference, out string CategoryID, out string SubcategoryID, out string MaskID)
 This method returns mask data by reference.
static Districts GetDistrictsByRegion (Region region)
 This method retrieves from DAL a list of all disrticts available for the specified region.
static Facilities GetFacilitiesByRegionAndDistrict (Region region, District district)
 This method retrieves from DAL a list of facilities for the specified region and district.
static bool AddDataRole (string dataRoleName, ref string returnMessage)
 This method validates a new data role and adds it through DAL.
static bool AddDataRoleAttribute (DataRole dataRole, DataRoleAttribute dataRoleAttribute, ref string returnMessage)
 This method retrieves from DAL data role attributes of the specified data role.
static bool RemoveDataRoleAttribute (DataRole dataRole, DataRoleAttribute dataRoleAttribute, ref string returnMessage)
 This method removes a data role attribute through DAL from the specified data role.
static bool RemoveDataRole (DataRole dataRole, ref string returnMessage)
 This method removes a data role through DAL.
static bool SaveDataRole (DataRole dataRole, ref string returnMessage)
 This method saves a data role through DAL.
static bool RemoveFunctionRole (FunctionRole functionRole, ref string returnMessage)
 This method removes a function role through DAL.
static bool AddFunctionRole (string functionRoleName, ref string returnMessage)
 This method adds a new function role through DAL.
static bool AddFunctionRole (string functionRoleName, FunctionRole.ValidationType validationType, ref string returnMessage)
 This method adds a new function role through DAL.
static bool AddFunctionRoleAttribute (FunctionRole functionRole, FunctionRoleAttribute functionRoleAttribute, ref string returnMessage)
 This method adds a new function role attribute through DAL to the specified data role.
static bool RemoveFunctionRoleAttribute (FunctionRole functionRole, FunctionRoleAttribute functionRoleAttribute, ref string returnMessage)
 This method removes the function role attribute through DAL from the specified data role.
static bool AddUserType (FunctionRole functionRole, UserTypeData userType, ref string returnMessage)
 This method adds a new user type through DAL to the specified functional role.
static bool RemoveUserType (FunctionRole functionRole, UserTypeData userType, ref string returnMessage)
 This method removes a user type through DAL from the specified functional role.
static bool SaveFunctionRole (FunctionRole functionRole, ref string returnMessage)
 This method saves a functional role through DAL.
static bool UserExists (string userName, ref string returnMessage)
 This method check whether the specified user exists.
static Facility GetFacilityByID (int facilityID)
 This method gets Facility object by facility ID.
static Department GetDepartmentByID (int departmentID)
 This method gets Department object by department ID.
static FunctionRoles GetFunctionalRolesByUserType (UserTypeData userTypeData)
 This method retrieves from DB functional roles by user type ID.
static bool ValidateRemoveUserTypeFromFunctionRole (FunctionRole functionRole, UserTypeData userType, ref string returnMessage)
 This method validate user type.
static bool AddSubcategory (FunctionRole.Subcategory subcategory, ref string returnMessage)
 This method adds a new subcategory into DB.
static bool SaveSubcategory (FunctionRole.Subcategory subcategory, ref string returnMessage)
 This method saves a subcategory into DB.
static bool SaveSubcategoryOrder (FunctionRole.Subcategory subcategory, ref string returnMessage)
 This method saves a subcategory into DB.
static bool RemoveSubcategory (int subcategoryID, ref string returnMessage)
 This method removes a subcategory from DB.
static Dictionary< string, string > GetUserStatusesHistoryByUser (UserData user)
 This method retrieves from DB user statuses history.
static void UpdateContextVisibleName (string contextName, string contextVisibleName)
 This method updates [Context Visible Name] field in Context table.
static void DeleteContext (string contextName)
 This method delete Context.
static MessageBoxRestrictions getActiveMessageBoxRestrictionsForUser (UserData user)
static MessageBoxRestrictions getActiveMessageBoxRestrictionsForUser (UserData user, DateTime selectedDate)
static DataRole getMessageBoxDataRoleByUser (UserData user)
static DataRole getMessageBoxDataRoleByUserAndDate (UserData user, DateTime date)
static List< UserData > GetUserFreeToTakeOver ()
static bool clearTakeOverForUser (UserData user)
static bool saveMessageboxRestriction (UserData user, MessageBoxRestriction newMbr, ref string returnMessage)
static bool editMessageboxRestriction (UserData user, MessageBoxRestriction mbr, ref string returnMessage)
static bool deleteMessageboxRestriction (UserData user, MessageBoxRestriction mbr, ref string returnMessage)
static List
< MessageBoxRestriction > 
MessageboxRestrictionHistoryForUser (UserData user, ref string returnMessage)
static Users GetLevelThreeUsers ()
static bool createUserAssignmentForUser (UserAssignment ua, UserData ud, ref string outputMessage)
static bool editUserAssignment (UserAssignment ua, ref string outputMessage)
static bool deleteUserAssignment (UserAssignment ua, ref string outputMessage)

Properties

static Users Users [get]
 This method retrieves from DAL a list of all available users.
static UserTypes UserTypes [get]
 This method retrieves from DAL a list of all supported user types.
static DataRoles DataRoles [get]
 This method retrieves from DAL a list of available data roles.
static Practices Practices [get]
 This method retrieves from DAL a list of all available practices.
static Facilities Facilities [get]
 This method retrieves from DAL a list of all available facilities.
static Regions Regions [get]
 This method retrieves from DAL a list of all available regions.
static FunctionRoles FunctionalRoles [get]
 This method retrieves from DAL a list of all available functional roles.
static FunctionRoles PredefinedFunctionalRoles [get]
 This method retrieves from DAL a list of predefined functional roles.
static FunctionRoleCategories FunctionalRoleCategories [get]
 This method retrieves from DAL a list of all available functional role categories.

Detailed Description

This class implements A.L.L. methods for user managements.


Member Function Documentation

static bool RAIS::ApplicationLogicLayer::UserManagement::AddAccountRequest ( UserData  userData,
ref string  returnMessage 
) [static]

This method adds a new account request into DB.

Parameters:
userDataUser data.
comment- comment for account request
returnMessageMessage string about the action result.
Returns:
true on success, otherwise false;

Definition at line 128 of file UserManagement.cs.

static bool RAIS::ApplicationLogicLayer::UserManagement::AddDataRole ( string  dataRoleName,
ref string  returnMessage 
) [static]

This method validates a new data role and adds it through DAL.

Parameters:
dataRoleNameData role name.
returnMessageMessage string about the action result.
Returns:
true on success, otherwise false;

Definition at line 438 of file UserManagement.cs.

static bool RAIS::ApplicationLogicLayer::UserManagement::AddDataRoleAttribute ( DataRole  dataRole,
DataRoleAttribute  dataRoleAttribute,
ref string  returnMessage 
) [static]

This method retrieves from DAL data role attributes of the specified data role.

Parameters:
dataRoleData role.
Returns:
Array of data role attributes

This method adds a new data role attribute through DAL to the specified data role.

Parameters:
dataRoleData role.
dataRoleAttributeData role attribute to be added.
returnMessageMessage string about the action result.
Returns:
true on success, otherwise false;

Definition at line 459 of file UserManagement.cs.

static bool RAIS::ApplicationLogicLayer::UserManagement::AddFunctionRole ( string  functionRoleName,
ref string  returnMessage 
) [static]

This method adds a new function role through DAL.

Parameters:
functionRoleNameFunctional role name.
returnMessageMessage string about the action result.
Returns:
true on success, otherwise false;

Definition at line 550 of file UserManagement.cs.

static bool RAIS::ApplicationLogicLayer::UserManagement::AddFunctionRole ( string  functionRoleName,
FunctionRole.ValidationType  validationType,
ref string  returnMessage 
) [static]

This method adds a new function role through DAL.

Parameters:
functionRoleNameFunctional role name.
validationTypeFunctional role validation type.
returnMessageMessage string about the action result.
Returns:
true on success, otherwise false;

Definition at line 562 of file UserManagement.cs.

static bool RAIS::ApplicationLogicLayer::UserManagement::AddFunctionRoleAttribute ( FunctionRole  functionRole,
FunctionRoleAttribute  functionRoleAttribute,
ref string  returnMessage 
) [static]

This method adds a new function role attribute through DAL to the specified data role.

Parameters:
functionRoleFunctional role.
functionRoleAttributeFunctional role attribute to be added.
returnMessageMessage string about the action result.
Returns:
true on success, otherwise false;

Definition at line 574 of file UserManagement.cs.

static bool RAIS::ApplicationLogicLayer::UserManagement::AddSubcategory ( FunctionRole.Subcategory  subcategory,
ref string  returnMessage 
) [static]

This method adds a new subcategory into DB.

Parameters:
subcategory- Subcategory object to be saved.
returnMessageMessage string about the action result.
Returns:
true on success, otherwise false;

Definition at line 742 of file UserManagement.cs.

static bool RAIS::ApplicationLogicLayer::UserManagement::AddUser ( UserData  userData,
ref string  returnMessage 
) [static]

This method validates new user data and adds a new user through DAL.

Parameters:
userDataUser data.
returnMessageMessage string about the action result.
Returns:
true on success, otherwise false;

Definition at line 164 of file UserManagement.cs.

static bool RAIS::ApplicationLogicLayer::UserManagement::AddUserType ( FunctionRole  functionRole,
UserTypeData  userType,
ref string  returnMessage 
) [static]

This method adds a new user type through DAL to the specified functional role.

Parameters:
functionRoleFunctional role.
userTypeobject of UserTypeData type to be added.
returnMessageMessage string about the action result.
Returns:
true on success, otherwise false;

Definition at line 598 of file UserManagement.cs.

static bool RAIS::ApplicationLogicLayer::UserManagement::clearTakeOverForUser ( UserData  user) [static]

Definition at line 907 of file UserManagement.cs.

static bool RAIS::ApplicationLogicLayer::UserManagement::createUserAssignmentForUser ( UserAssignment  ua,
UserData  ud,
ref string  outputMessage 
) [static]

Definition at line 983 of file UserManagement.cs.

static void RAIS::ApplicationLogicLayer::UserManagement::DeleteContext ( string  contextName) [static]

This method delete Context.

Definition at line 795 of file UserManagement.cs.

static bool RAIS::ApplicationLogicLayer::UserManagement::deleteMessageboxRestriction ( UserData  user,
MessageBoxRestriction  mbr,
ref string  returnMessage 
) [static]

Definition at line 952 of file UserManagement.cs.

static bool RAIS::ApplicationLogicLayer::UserManagement::deleteUserAssignment ( UserAssignment  ua,
ref string  outputMessage 
) [static]

Definition at line 995 of file UserManagement.cs.

static bool RAIS::ApplicationLogicLayer::UserManagement::editMessageboxRestriction ( UserData  user,
MessageBoxRestriction  mbr,
ref string  returnMessage 
) [static]

Definition at line 933 of file UserManagement.cs.

static bool RAIS::ApplicationLogicLayer::UserManagement::editUserAssignment ( UserAssignment  ua,
ref string  outputMessage 
) [static]

Definition at line 989 of file UserManagement.cs.

static MessageBoxRestrictions RAIS::ApplicationLogicLayer::UserManagement::getActiveMessageBoxRestrictionsForUser ( UserData  user) [static]

Definition at line 879 of file UserManagement.cs.

static MessageBoxRestrictions RAIS::ApplicationLogicLayer::UserManagement::getActiveMessageBoxRestrictionsForUser ( UserData  user,
DateTime  selectedDate 
) [static]

Definition at line 883 of file UserManagement.cs.

static FunctionRoleCategories RAIS::ApplicationLogicLayer::UserManagement::GetAllowCustomizationCategories ( ) [static]

This method retrieves from DAL a list of allow customization functional role categories.

Returns:
Dictionary of funcitnal role category names vs functional role category objects

Definition at line 309 of file UserManagement.cs.

static Department RAIS::ApplicationLogicLayer::UserManagement::GetDepartmentByID ( int  departmentID) [static]

This method gets Department object by department ID.

Parameters:
departmentID- ID of department in DB

Definition at line 713 of file UserManagement.cs.

static Districts RAIS::ApplicationLogicLayer::UserManagement::GetDistrictsByRegion ( Region  region) [static]

This method retrieves from DAL a list of all disrticts available for the specified region.

Parameters:
regionName of the region.
Returns:
Array of strings, containing available district names

Definition at line 411 of file UserManagement.cs.

static List<Facility> RAIS::ApplicationLogicLayer::UserManagement::getFacilitiesByPractice ( int  practiceID) [static]

Definition at line 92 of file UserManagement.cs.

static Facilities RAIS::ApplicationLogicLayer::UserManagement::GetFacilitiesByRegionAndDistrict ( Region  region,
District  district 
) [static]

This method retrieves from DAL a list of facilities for the specified region and district.

Parameters:
regionRegion object.
districtDistrict object.
Returns:
Colleciton of facilities of the specified region and district

Definition at line 424 of file UserManagement.cs.

static Facility RAIS::ApplicationLogicLayer::UserManagement::GetFacilityByID ( int  facilityID) [static]

This method gets Facility object by facility ID.

Parameters:
facilityID- ID of facility in DB

Definition at line 705 of file UserManagement.cs.

static FunctionRoles RAIS::ApplicationLogicLayer::UserManagement::GetFunctionalRolesByUserType ( UserTypeData  userTypeData) [static]

This method retrieves from DB functional roles by user type ID.

Returns:
Dictionary of funcitnal role names vs functional role object

Definition at line 721 of file UserManagement.cs.

static FunctionRoleSubcategories RAIS::ApplicationLogicLayer::UserManagement::GetFunctionalRoleSubcategories ( FunctionRole.Category  category) [static]

This method retrieves from DAL a list of all available functional role subcategories for the specified category.

Parameters:
categoryCategory
Returns:
Dictionary of funcitnal role subcategory names vs functional role subcategory objects

Definition at line 318 of file UserManagement.cs.

static FunctionRoleSubcategories RAIS::ApplicationLogicLayer::UserManagement::GetFunctionalRoleSubcategories ( FunctionRole.Category  category,
bool  withAll 
) [static]

This method retrieves from DB a list of all available functional role subcategories for the specified category without "All Subcategories" line.

Parameters:
categoryCategory
withAll- Gets "All Subcategories" row in result Dictionary if true
Returns:
Dictionary of funcitnal role subcategory names vs functional role subcategory objects

Definition at line 328 of file UserManagement.cs.

static FunctionRoleSubcategories RAIS::ApplicationLogicLayer::UserManagement::GetFunctionalRoleSubcategories ( FunctionRole.Category  category,
bool  withAll,
bool  showProtectors,
bool  showEvaluators 
) [static]

This method retrieves from DB a list of all available functional role subcategories for the specified category.

Parameters:
categoryCategory
withAll- Gets "All Subcategories" row in result Dictionary if true
hidden- Gets hidden subcategories in result Dictionary if true
Returns:
Dictionary of funcitnal role subcategory names vs functional role subcategory objects

Definition at line 339 of file UserManagement.cs.

static Users RAIS::ApplicationLogicLayer::UserManagement::GetLevelThreeUsers ( ) [static]

Definition at line 977 of file UserManagement.cs.

static void RAIS::ApplicationLogicLayer::UserManagement::GetMaskByReference ( string  reference,
out string  CategoryID,
out string  SubcategoryID,
out string  MaskID 
) [static]

This method returns mask data by reference.

Parameters:
referenceReference
CategoryIDCategory ID
SubcategoryIDSubcategory ID
MaskIDMask ID

Definition at line 402 of file UserManagement.cs.

static Masks RAIS::ApplicationLogicLayer::UserManagement::GetMasks ( FunctionRole.Category  category,
FunctionRole.Subcategory  subcategory 
) [static]

This method retrieves from DAL a list of all available masks for the specified category and subcategory.

Parameters:
categoryCategory
subcategorySubcategory
Returns:
Dictionary of funcitnal role mask names vs mask objects

Definition at line 349 of file UserManagement.cs.

static Masks RAIS::ApplicationLogicLayer::UserManagement::GetMasksWithoutAll ( FunctionRole.Category  category,
FunctionRole.Subcategory  subcategory 
) [static]

This method retrieves from DAL a list of all available masks for the specified category and subcategory without "All Masks" line.

Parameters:
categoryCategory
subcategorySubcategory
Returns:
Dictionary of funcitnal role mask names vs mask objects

Definition at line 359 of file UserManagement.cs.

static Masks RAIS::ApplicationLogicLayer::UserManagement::GetMasksWithoutAll ( FunctionRole.Category  category,
FunctionRole.Subcategory  subcategory,
DynamicMask.DynamicMaskTypeData  dynamicMaskType 
) [static]

This method retrieves from DAL a list of all available masks for the specified category, subcategory and type without "All Masks" line.

Parameters:
categoryCategory
subcategorySubcategory
dynamicMaskTypeDynamic mask type as DynamicMaskTypeData object
Returns:
Dictionary of funcitnal role mask names vs mask objects

Definition at line 381 of file UserManagement.cs.

static Masks RAIS::ApplicationLogicLayer::UserManagement::GetMasksWithoutAllWhithHidden ( FunctionRole.Category  category,
FunctionRole.Subcategory  subcategory 
) [static]

This method retrieves from DAL a list of all available masks for the specified category and subcategory without "All Masks" line and with hidden masks.

Parameters:
categoryCategory
subcategorySubcategory
Returns:
Dictionary of funcitnal role mask names vs mask objects

Definition at line 370 of file UserManagement.cs.

static DataRole RAIS::ApplicationLogicLayer::UserManagement::getMessageBoxDataRoleByUser ( UserData  user) [static]

Definition at line 891 of file UserManagement.cs.

static DataRole RAIS::ApplicationLogicLayer::UserManagement::getMessageBoxDataRoleByUserAndDate ( UserData  user,
DateTime  date 
) [static]

Definition at line 897 of file UserManagement.cs.

static XmlDocument RAIS::ApplicationLogicLayer::UserManagement::GetSiteMapByUser ( UserData  user,
bool  designMode 
) [static]

This method retrieves the site map from DAL. The retrieved site map provided with user-specific access right indications for the specified user.

Parameters:
userUser data
Returns:
site map xml document.

Definition at line 391 of file UserManagement.cs.

static List<UserAssignment> RAIS::ApplicationLogicLayer::UserManagement::GetUserAssignmentHistoryForUser ( UserData  user) [static]

Definition at line 97 of file UserManagement.cs.

static List<UserAssignment> RAIS::ApplicationLogicLayer::UserManagement::GetUserAssignmentsForUser ( UserData  user,
DateTime  selectedDate 
) [static]

Definition at line 82 of file UserManagement.cs.

static List<UserAssignment> RAIS::ApplicationLogicLayer::UserManagement::GetUserAssignmentsForUser ( UserData  user) [static]

Definition at line 86 of file UserManagement.cs.

static UserData RAIS::ApplicationLogicLayer::UserManagement::GetUserData ( string  userName) [static]

This method retrieves from DAL a user data object for the specified user name.

Parameters:
userNameUser's login name.
Returns:
UserData object with properties of the specified user
Note:
If the specified user is not found, the methods throws an exception.

Definition at line 76 of file UserManagement.cs.

static List<UserData> RAIS::ApplicationLogicLayer::UserManagement::GetUserFreeToTakeOver ( ) [static]

Definition at line 902 of file UserManagement.cs.

static Dictionary<string, string> RAIS::ApplicationLogicLayer::UserManagement::GetUserStatusesHistoryByUser ( UserData  user) [static]

This method retrieves from DB user statuses history.

Returns:
dictionary with status date as key and user status visible name as value

Definition at line 781 of file UserManagement.cs.

static void RAIS::ApplicationLogicLayer::UserManagement::InitializeDAL ( ) [static]

This method checks Initialize Data access layer.

Definition at line 63 of file UserManagement.cs.

static bool RAIS::ApplicationLogicLayer::UserManagement::LoginUser ( UserData  userData) [static]

This method fixes the fact of user's login in DB .

Parameters:
userDataUser data.
returnMessageMessage string about the action result.
Returns:
true on success, otherwise false;

Definition at line 107 of file UserManagement.cs.

static bool RAIS::ApplicationLogicLayer::UserManagement::LogoutUser ( UserData  userData,
bool  isLoggOffClick 
) [static]

This method fixes the fact of user's logout in DB .

Parameters:
userDataUser data.
returnMessageMessage string about the action result.
Returns:
true on success, otherwise false;

Definition at line 117 of file UserManagement.cs.

static List<MessageBoxRestriction> RAIS::ApplicationLogicLayer::UserManagement::MessageboxRestrictionHistoryForUser ( UserData  user,
ref string  returnMessage 
) [static]

Definition at line 971 of file UserManagement.cs.

static bool RAIS::ApplicationLogicLayer::UserManagement::ModifyUser ( UserData  userData,
ref string  returnMessage 
) [static]

This method validates user data and saves it as modification of an existing user::s details through DAL.

Parameters:
userDataUser data.
returnMessageMessage string about the action result.
Returns:
true on success, otherwise false;

Definition at line 177 of file UserManagement.cs.

static bool RAIS::ApplicationLogicLayer::UserManagement::RejectAccountRequest ( UserData  userData,
ref string  returnMessage 
) [static]

This method rejects an account request into DB.

Parameters:
userDataUser data.
comment- comment for account request
returnMessageMessage string about the action result.
Returns:
true on success, otherwise false;

Definition at line 153 of file UserManagement.cs.

static bool RAIS::ApplicationLogicLayer::UserManagement::ReleaseAccountRequest ( UserData  userData,
ref string  returnMessage 
) [static]

This method releases an account request into DB.

Parameters:
userDataUser data.
comment- comment for account request
returnMessageMessage string about the action result.
Returns:
true on success, otherwise false;

Definition at line 139 of file UserManagement.cs.

static bool RAIS::ApplicationLogicLayer::UserManagement::RemoveDataRole ( DataRole  dataRole,
ref string  returnMessage 
) [static]

This method removes a data role through DAL.

Parameters:
dataRoleData role object.
returnMessageMessage string about the action result.
Returns:
true on success, otherwise false;

Definition at line 482 of file UserManagement.cs.

static bool RAIS::ApplicationLogicLayer::UserManagement::RemoveDataRoleAttribute ( DataRole  dataRole,
DataRoleAttribute  dataRoleAttribute,
ref string  returnMessage 
) [static]

This method removes a data role attribute through DAL from the specified data role.

Parameters:
dataRoleData role.
dataRoleAttributeData role attribute to be removed.
returnMessageMessage string about the action result.
Returns:
true on success, otherwise false;

Definition at line 471 of file UserManagement.cs.

static bool RAIS::ApplicationLogicLayer::UserManagement::RemoveFunctionRole ( FunctionRole  functionRole,
ref string  returnMessage 
) [static]

This method removes a function role through DAL.

Parameters:
functionRoleFunctional role object.
returnMessageMessage string about the action result.
Returns:
true on success, otherwise false;

Definition at line 539 of file UserManagement.cs.

static bool RAIS::ApplicationLogicLayer::UserManagement::RemoveFunctionRoleAttribute ( FunctionRole  functionRole,
FunctionRoleAttribute  functionRoleAttribute,
ref string  returnMessage 
) [static]

This method removes the function role attribute through DAL from the specified data role.

Parameters:
functionRoleFunctional role.
functionRoleAttributeFunctional role attribute to be removed.
returnMessageMessage string about the action result.
Returns:
true on success, otherwise false;

Definition at line 586 of file UserManagement.cs.

static bool RAIS::ApplicationLogicLayer::UserManagement::RemoveSubcategory ( int  subcategoryID,
ref string  returnMessage 
) [static]

This method removes a subcategory from DB.

Parameters:
subcategoryID- Subcategory ID.
returnMessageMessage string about the action result.
Returns:
true on success, otherwise false;

Definition at line 772 of file UserManagement.cs.

static bool RAIS::ApplicationLogicLayer::UserManagement::RemoveUserType ( FunctionRole  functionRole,
UserTypeData  userType,
ref string  returnMessage 
) [static]

This method removes a user type through DAL from the specified functional role.

Parameters:
functionRoleFunctional role.
userTypeobject of UserTypeData type to be removed.
returnMessageMessage string about the action result.
Returns:
true on success, otherwise false;

Definition at line 610 of file UserManagement.cs.

static bool RAIS::ApplicationLogicLayer::UserManagement::SaveDataRole ( DataRole  dataRole,
ref string  returnMessage 
) [static]

This method saves a data role through DAL.

Parameters:
dataRoleeData role object.
returnMessageMessage string about the action result.
Returns:
true on success, otherwise false;

Definition at line 493 of file UserManagement.cs.

static bool RAIS::ApplicationLogicLayer::UserManagement::SaveFunctionRole ( FunctionRole  functionRole,
ref string  returnMessage 
) [static]

This method saves a functional role through DAL.

Parameters:
functionRolefFunction role object.
returnMessageMessage string about the action result.
Returns:
true on success, otherwise false;

Definition at line 621 of file UserManagement.cs.

static bool RAIS::ApplicationLogicLayer::UserManagement::saveMessageboxRestriction ( UserData  user,
MessageBoxRestriction  newMbr,
ref string  returnMessage 
) [static]

Definition at line 913 of file UserManagement.cs.

static bool RAIS::ApplicationLogicLayer::UserManagement::SaveSubcategory ( FunctionRole.Subcategory  subcategory,
ref string  returnMessage 
) [static]

This method saves a subcategory into DB.

Parameters:
subcategory- Subcategory object to be saved.
returnMessageMessage string about the action result.
Returns:
true on success, otherwise false;

Definition at line 752 of file UserManagement.cs.

static bool RAIS::ApplicationLogicLayer::UserManagement::SaveSubcategoryOrder ( FunctionRole.Subcategory  subcategory,
ref string  returnMessage 
) [static]

This method saves a subcategory into DB.

Parameters:
subcategory- Subcategory object which order to be saved.
returnMessageMessage string about the action result.
Returns:
true on success, otherwise false;

Definition at line 762 of file UserManagement.cs.

static void RAIS::ApplicationLogicLayer::UserManagement::UpdateContextVisibleName ( string  contextName,
string  contextVisibleName 
) [static]

This method updates [Context Visible Name] field in Context table.

Definition at line 788 of file UserManagement.cs.

static bool RAIS::ApplicationLogicLayer::UserManagement::UserExists ( string  userName,
ref string  returnMessage 
) [static]

This method check whether the specified user exists.

Parameters:
userNameUser name.
Returns:
true if the user is exists, otherwise false;

Definition at line 689 of file UserManagement.cs.

static bool RAIS::ApplicationLogicLayer::UserManagement::ValidateRemoveUserTypeFromFunctionRole ( FunctionRole  functionRole,
UserTypeData  userType,
ref string  returnMessage 
) [static]

This method validate user type.

Parameters:
functionRoleFunctionRole object
userTypeUserTypeData object
returnMessageStatus massage
Returns:
Is correct data

Definition at line 732 of file UserManagement.cs.


Property Documentation

DataRoles RAIS::ApplicationLogicLayer::UserManagement::DataRoles [static, get]

This method retrieves from DAL a list of available data roles.

Returns:
Array of strings, containing available data roles

Definition at line 225 of file UserManagement.cs.

Facilities RAIS::ApplicationLogicLayer::UserManagement::Facilities [static, get]

This method retrieves from DAL a list of all available facilities.

Returns:
Array of strings, containing available facilities

Definition at line 251 of file UserManagement.cs.

FunctionRoleCategories RAIS::ApplicationLogicLayer::UserManagement::FunctionalRoleCategories [static, get]

This method retrieves from DAL a list of all available functional role categories.

Returns:
Dictionary of funcitnal role category names vs functional role category objects

Definition at line 299 of file UserManagement.cs.

FunctionRoles RAIS::ApplicationLogicLayer::UserManagement::FunctionalRoles [static, get]

This method retrieves from DAL a list of all available functional roles.

Returns:
Dictionary of funcitnal role names vs functional role objects

Definition at line 275 of file UserManagement.cs.

Practices RAIS::ApplicationLogicLayer::UserManagement::Practices [static, get]

This method retrieves from DAL a list of all available practices.

Returns:
Array of strings, containing available practices #-#

Definition at line 238 of file UserManagement.cs.

FunctionRoles RAIS::ApplicationLogicLayer::UserManagement::PredefinedFunctionalRoles [static, get]

This method retrieves from DAL a list of predefined functional roles.

Returns:
Dictionary of funcitnal role names vs functional role objects

Definition at line 287 of file UserManagement.cs.

Regions RAIS::ApplicationLogicLayer::UserManagement::Regions [static, get]

This method retrieves from DAL a list of all available regions.

Returns:
Array of strings, containing available region names

Definition at line 263 of file UserManagement.cs.

Users RAIS::ApplicationLogicLayer::UserManagement::Users [static, get]

This method retrieves from DAL a list of all available users.

Returns:
Collection of user data objects

Definition at line 190 of file UserManagement.cs.

UserTypes RAIS::ApplicationLogicLayer::UserManagement::UserTypes [static, get]

This method retrieves from DAL a list of all supported user types.

Returns:
Array of strings, containing supported user type names

Definition at line 213 of file UserManagement.cs.


The documentation for this class was generated from the following file: